<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Document sans titre</title>
</head>

<body>
<?php
  $host="localhost";
$user="root";
$pwd="";
$nomDB="gl";
$lien=mysql_connect($host,$user,$pwd) or die ("connexion impossible");
mysql_select_db($nomDB, $lien);
					$log=$_GET['log'];
					$id=$_GET['id'];
					$ob=$_GET['obj'];
					$me=$_GET['mes'];
					$req2="insert into reclammation values(null,'".$ob."','".$me."','".$log."',0)";
					$r="insert into messageC values(null,'Acquitement','Votre Reclammation a ete recue avec succes',0,'".$log."')";
				mysql_query($req2);
				mysql_query($r);
					
					header('location:index client.php?id='.$id.'&log='.$log);
				 ?>
</body>
</html>